/**
 * 
 */
package com.wubo.sec.service;

import javax.annotation.security.RolesAllowed;

import com.wubo.sec.model.ActionLog;
import com.wubo.sec.model.ErrorLog;

/**
 * @author wubo
 * @CreateDate 2010-8-4
 * @version 1.0.01
 */
public interface ILogService {

	void add(ActionLog log);
	
	void add(ErrorLog log);
	
	@RolesAllowed({"ADMIN", "ERRORLOG_CLEAR"})
	void clearErrorLog();
	
	@RolesAllowed({"ADMIN", "ACTIONLOG_DELETE"})
	void deleteActionLogs(long[] ids);
}
